package com.woniuxy.signing.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author huanglei
 * @since 2022-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Agreement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 合同表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 合同内容
     */
    private String agreementContent;

    /**
     * 甲方姓名
     */
    private String partAName;

    /**
     * 乙方内容
     */
    private String partBName;

    /**
     * 签约时间
     */
    private LocalDateTime agreementSignTime;

    /**
     * 解约时间
     */
    private LocalDateTime agreementRemoveTime;

    /**
     * 合同起始有效时间
     */
    private String agreementStartTime;

    /**
     * 合同正常结束时间
     */
    private String agreementFinishTime;

    /**
     * 合同状态(0:有效状态 1.过期 2.手动取消)
     */
    private Integer agreementState;

    /**
     * 合同文件地址
     */
    private String agreementUri;


}
